﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PLM.ConfigurationCenter.EventBus.Eventbus {
    /// <summary>
    /// 集成事件处理程序
    /// </summary>
    public interface IIntegrationEventHandler {

    }
    /// <summary>
    /// 集成事件处理程序-泛型接口
    /// </summary>
    public interface IIntegrationEventHandler<in TIntegrationEvent> : IIntegrationEventHandler where TIntegrationEvent : IntegrationEvent {
        Task Handle(TIntegrationEvent @event);
    }
}
